package com.enzoism.springboot.fastjson.a01InnerClass;

public class DiveClass2 {

    private String name="小明";

    public void test(){
        new DiveInnerClass().print();
    }

    public class DiveInnerClass {
        public void print() {
            String name = new DiveClass2().name;
            System.out.println("--------->name:" + name);
        }
    }
}
